package com.core.family.biz.yizhao.domain.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.core.family.admin.domain.po.PlatUser;
import com.core.family.admin.domain.po.SysGroup;
import com.core.family.admin.domain.po.SysMenu;
import com.core.family.admin.domain.po.SysRole;
import lombok.Data;

import java.util.List;

/**
 * @author hl
 * @version 1.0.0
 * @ClassName YzUserDto.java
 * @Description 类描述
 * @createTime 2023年07月02日 10:33:00
 */
@Data
public class YzUserDto extends PlatUser {
    private boolean isAdmin;
    List<SysGroup> groups;
    List<SysRole> roles;
    List<SysMenu> menus;
    private String token;

    @TableField(value = "is_del")
    private Integer isDel;



    /*
     *  发单次数
     */
    @TableField(value = "order_count")
    private Integer orderCount;

    /*
     *  服务次数
     */
    @TableField(value = "order_take_count")
    private Integer orderTakeCount;

    /*
     *  累积消费
     */
    @TableField(value = " consume_count")
    private Double consumeCount;

    /*
     *  累积收益
     */
    @TableField(value = " earn_count")
    private Double earnCount;

    /*
     *  我的地址
     */

    @TableField(value = "address")
    private String address;

    /*
     *  默认时间约定方式
     */

    @TableField(value = "time_limit_type")
    private String timeLimitType;

    /*
     *  性别
     */

    @TableField(value = "sex")
    private String sex;

    /*
     *  年龄
     */
    @TableField(value = "age")
    private Integer age;

    /*
     *  身份类型
     */

    @TableField(value = "role_type")
    private String roleType;

    /*
     *
     */

    @TableField(value = "biz_qrcode")
    private String bizQrcode;

    /*
     *  接单类型
     */

    @TableField(value = "order_take_type")
    private String orderTakeType;

    /*
     *  我的技能
     */

    @TableField(value = "skill_type")
    private String skillType;

    @TableField(value = "cert_list")
    private String certList;

    @TableField(value = "idcard")
    private String idcard;





    /*
     *  保证金
     */

    @TableField(value = "margin")
    private String margin;

    //        评价数量
    @TableField(value = "rate_count")
    private Integer rateCount;

    /* 省市*/
    @TableField(value = "local")
    private String local;


    @TableField(value = "level")
    private Integer level;


    @TableField(value = "contribute_count")
    private Integer contributeCount;

}
